using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ERPBackend.Models;

namespace ERPBackend.Services
{
    public interface IUserService
    {
        Task<IEnumerable<User>> GetAllUsersAsync();
        Task<User> GetUserByIdAsync(int userId);
        Task<User> CreateUserAsync(User user);
        Task<User> UpdateUserAsync(User user);
        Task<bool> DeleteUserAsync(int userId);
        Task<IEnumerable<User>> SearchUsersAsync(string keyword);
        Task<bool> ChangeUserStatusAsync(int userId, bool status);
        Task<bool> ResetPasswordAsync(int userId, string newPassword);
    }
}